From 58bae4096a7bf8d5d3bfbddb82cb37dd0561c938 Mon Sep 17 00:00:00 2001
From: Filip Skoneczny <fskoneczny@gmail.com>
Date: Sun, 10 Jan 2021 19:07:14 +0100
Subject: [PATCH] ARM: dts: sun7i: bananapi-m1-plus: Disable OOB IRQ for brcm
 wifi module

    Based on 23bc805.
    BugLink: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908438

Signed-off-by: Filip Skoneczny <fskoneczny@gmail.com>
---
 arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts b/arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts
index 32d5d45a35c0..97f9987f51d7 100644
--- a/arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts
+++ b/arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts
@@ -193,9 +193,14 @@ &mmc3 {
 	brcmf: wifi@1 {
 		reg = <1>;
 		compatible = "brcm,bcm4329-fmac";
-		interrupt-parent = <&pio>;
-		interrupts = <7 15 IRQ_TYPE_LEVEL_LOW>;
-		interrupt-names = "host-wake";
+		/*
+		 * OOB interrupt support is broken ATM, drv probe failing with:
+		 * ieee80211 phy0: brcmf_attach: dongle is not responding: err=-110
+		 *
+		 * interrupt-parent = <&pio>;
+		 * interrupts = <7 15 IRQ_TYPE_LEVEL_LOW>;
+		 * interrupt-names = "host-wake";
+		 */
 	};
 };
 
-- 
2.25.1

